package lab02.test07;

public class Test07 {

    public static void main(String[] args) {
        Person person = new Person();
        person.name="曾阳";
        person.age =18;
        person.card = "8208208820";
        Student student=new Student();

        student.name="曾阳";
        student.age =18;
        student.card = "8208208820";
        student.sno="12456";
        student.school="四川旅游大学";
        System.out.println(person.toString());
        System.out.println(student.toString());

    }

}
